<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="format-detection" content="email=no" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <meta name="renderer" content="webkit" />
    <title>vue-template-4</title>
    <script type="text/javascript">
      ;(function() {
        updateFontSize()

        function updateFontSize() {
          var width = document.documentElement.getBoundingClientRect().width
          var fontSize = width / 7.5
          document.documentElement.style.fontSize = fontSize + 'px'
        }
        window.onresize = function() {
          updateFontSize()
        }
        window.getUrlParam = function(name) {
          var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)') //构造一个含有目标参数的正则表达式对象
          var r = window.location.search.substr(1).match(reg) //匹配目标参数
          if (r != null) return decodeURI(r[2])
          return null //返回参数值
        }
      })()
    </script>
  </head>

  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
